import {IsString, IsNotEmpty} from "class-validator";

export class LoginDto {

    @IsString()
    @IsNotEmpty()
    name: string;

    @IsString()
    @IsNotEmpty()
    password: string;

}